<template lang="jade">

  div.return-bar
    i.iconfont(@click="back()") &#xe668;
    邀请好友列表
    span.top_right_btn(v-link="{ path: '/add-friend'}") 邀请
      i.iconfont &#xe62f;
  div.user-center.detail_top
    div.searchinput.cbox.nopos.mb10
      div.clx.input
        input(type="text",placeholder="输入好友姓名或手机查找")
      div.clx
        button 查找
    ul.firend-invite-list
      li
        i.iconfont &#xe643;
        span 欧阳疯 136 5423 8386
        strong 注册时间:2016-05-05
        dl.cbox
          dd
            b 13,255,48.00
            em 投资总额(元)
          dd
            b 13,255,48.00
            em 本月投资金额(元)
          dd
            b 13,255,48.00
            em 本月投资金额(元)
      li
        i.iconfont &#xe643;
        span 欧阳疯 136 5423 8386
        strong 注册时间:2016-05-05
        dl.cbox
          dd
            b 13,255,48.00
            em 投资总额(元)
          dd
            b 13,255,48.00
            em 本月投资金额(元)
          dd
            b 13,255,48.00
            em 本月投资金额(元)

</template>

<script>
import '../../assets/sass/user/index.scss'
export default {

  data () {
    return {
      info: {},
      subview:"first"
    }
  },


  methods: {
    setView(key){
      this.subview = key;
    },
    back(){
      window.history.back();
    }
  },
  route: {
    activate ( transition ) {
        if(sessionStorage.getItem("login")==null){
          this.$route.router.go('/login?from='+this.$route.path.substring(1))
          return false;
        }
        transition.next();
    }
  }
}
</script>